package com.yuewen.mongodb.entity;

import org.directwebremoting.annotations.DataTransferObject;

/**
 * Created by francis on 2017/3/18.
 */
@DataTransferObject
public class User {
    private String name;
    private String id;
    private int num;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "User[" + "id=" + id + ", name=" + name + "]";
    }
}
